import { axios } from "../../../utils/request";

const api = {
    pageList: "/crm/callBill/pageList",          //分页查询
    getCurrentBillByCompany: "/crm/callBill/getCurrentBillByCompany",  //获取当月账单
};


/**
 * 分页查询
 */
export function pageList(data) {
    return axios({
      url: api.pageList,
      method: "post",
      data: data
    });
}
/**
 * 获取当月账单
 * @param {*} parameter 
 * @returns 
 */
export function getCurrentBillByCompany(parameter) {
    return axios({
      url: api.getCurrentBillByCompany,
      method: "get",
      params: parameter
    });
  }

